package com.nervenets.web.controller.handler.user.wealth;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserBankEditParams extends TokenParams {
    @NeedValidation(type = Type.EMPTY, description = "银行ID")
    private long bankId;
    @NeedValidation(type = Type.POSITIVENUMBER, description = "银行分类ID")
    private long tagId;
    @NeedValidation(type = Type.NOTEMPTY, description = "开户名称")
    private String name;
    @NeedValidation(type = Type.NOTEMPTY, description = "银行账号")
    private String number;
    @NeedValidation(type = Type.NOTEMPTY, description = "开户银行网点名称")
    private String bankAddress;
}
